<template>
	<div>
		<div style="width: 100%;height: 20px;background-color: #ebedf0;"></div>
		<Row style="text-align: left;margin-top: 41px;">
			<Col span="12" style="text-align: left;">
			<span style="border-left: 5px solid #517EDB;font-size: 16px;"></span>
			<span style="font-size: 16px;font-weight: 800;margin-left: 41px;">教室课表</span>
			<Select v-model="grade" @on-change="gradeChange" style="width: 180px;text-align: center;margin-left: 40px;">
				<Option v-for="item in gradeList" :value="item.value" :key="item.value">{{item.label}}</Option>
			</Select>
			<span style="color: #CCCCCC;">一</span>
			<Select v-model="classroom" @on-change="classroomChange" style="width: 150px;text-align: center;">
				<Option v-for="item in classroomList" :value="item.value" :key="item.value">{{item.label}}</Option>
			</Select>
			</Col>
			<Tooltip content="导出" theme="light" style="float: right;">
						<Button @click="daochu" style="margin-right: 45px;" icon="iconfont alicon-daochu"></Button>
				</Tooltip>
		</Row>
		<div style="min-height: 300px; padding-bottom:20px ;">
			<Row style="margin:0 auto;margin:20px 45px 5px 45px;color: #666666;border-radius: 10px; background-color: #f0f8ff;padding: 10px 0;">
				<Col span="3" style="text-align: center;width: 15%;">
				<div style="display: inline-block;width: 100%; font-size: 16px;"></div>
				</Col>
				<Col span="4" style="text-align: center;width: 15%;">
				<span style="font-size: 16px;">节次</span>
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 16px;">周一</span>
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 16px;">周二</span>
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 16px;">周三</span>
				</Col>
				<Col span="4" style="text-align: center;width: 14%;">
				<span style="font-size: 16px;">周四</span>
				</Col>
				<Col span="4" style="text-align: center;width: 14%;">
				<span style="font-size: 16px;">周五</span>
				</Col>
			</Row>
			<Row v-for="item in kebiaorulerList" :key="item.kebiaorulerId" style="margin:0 auto;padding:20px 45px 5px 45px;">
				<Col span="3" style="text-align: center;width: 15%;border-right: 2px solid #CCCCCC;">
				<div style="font-size: 16px;width: 100%;">{{item.time}}&nbsp;</div>
				</Col>
				
				<Col span="3" style="text-align: center;width: 15%;">
				<span style="font-size: 16px;">{{item.jieci}}&nbsp;</span>
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 12px;">{{item.subject1}}({{item.teacher1}})&nbsp;</span>			
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 12px;">{{item.subject2}}({{item.teacher2}})&nbsp;</span>		

				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 12px;">{{item.subject3}}({{item.teacher3}})&nbsp;</span>		
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
			<span style="font-size: 12px;">{{item.subject4}}({{item.teacher4}})&nbsp;</span>		
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
			<span style="font-size: 12px;">{{item.subject5}}({{item.teacher5}})&nbsp;</span>		
				</Col>

			</Row>
		</div>
		<div style="min-height: 300px; padding-bottom:20px ;">
			<Row style="margin:0 auto;margin:20px 45px 5px 45px;color: #666666;border-radius: 10px; background-color: #E9E9E9;padding: 10px 0;">
				<span style="text-align: center;">午休</span>
			</Row>
			<Row v-for="item in kebiaorulerList2" :key="item.kebiaorulerId" style="margin:0 auto;padding:20px 45px 5px 45px;">
				<Col span="3" style="text-align: center;width: 15%;border-right: 2px solid #CCCCCC;">
				<div style="font-size: 16px;width: 100%;">{{item.time}}&nbsp;</div>
				</Col>
				
				<Col span="3" style="text-align: center;width: 15%;">
				<span style="font-size: 16px;">{{item.jieci}}&nbsp;</span>
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 12px;">{{item.subject6}}({{item.teacher6}})&nbsp;</span>			
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 12px;">{{item.subject7}}({{item.teacher7}})&nbsp;</span>		

				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
				<span style="font-size: 12px;">{{item.subject8}}({{item.teacher8}})&nbsp;</span>		
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
			<span style="font-size: 12px;">{{item.subject9}}({{item.teacher9}})&nbsp;</span>		
				</Col>
				<Col span="3" style="text-align: center;width: 14%;">
			<span style="font-size: 12px;">{{item.subject10}}({{item.teacher10}})&nbsp;</span>		
				</Col>

			</Row>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				classroom: 1,
				grade: 1,
				classroomList: [{
						value: 1,
						label: "高三(1)班  教室",
					},
					{
						value: 2,
						label: "高三(2)班  教室",
					},
					{
						value: 3,
						label: "高三(3)班  教室",
					},
				],
				gradeList: [{
						value: 1,
						label: "2018-2019学年第一学期",
					},
					{
						value: 2,
						label: "2018-2019学年第二学期",
					},
					{
						value: 3,
						label: "2017-2018学年第一学期",
					},
					{
						value: 4,
						label: "2017-2018学年第二学期",
					},
					
				],
				

				kebiaorulerList: [{
					kebiaorulerId: 1,
					jieci: "1",
					time: "",
					subject1:"语文",
					subject2:"数学",
					subject3:"英语",
					subject4:"语文",
					subject5:"历史",		
					teacher1:"王美丽",
					teacher2:"林忠诚",
					teacher3:"张美丽",
					teacher4:"蔡勇强",
					teacher5:"曾纪梁",
				}, {
					kebiaorulerId: 2,
					jieci: "2",
					time: "",
					subject1:"语文",
					subject2:"数学",
					subject3:"英语",
					subject4:"语文",
					subject5:"历史",
					teacher1:"王玲",
					teacher2:"王丽霞",
					teacher3:"王丽明",
					teacher4:"安华",
					teacher5:"黄开标",
				}, {
					kebiaorulerId: 3,
					jieci: "3",
					time: "上午",
					subject1:"语文",
					subject2:"数学",
					subject3:"英语",
					subject4:"语文",
					subject5:"历史",
					teacher1:"王美丽",
					teacher2:"陈七",
					teacher3:"黄鸿城",
					teacher4:"许祺彬",
					teacher5:"庄柏梵",
				}, {
					kebiaorulerId: 4,
					jieci: "4",
					time: "",
					subject1:"语文",
					subject2:"数学",
					subject3:"英语",
					subject4:"语文",
					subject5:"历史",
					teacher1:"吴静怡",
					teacher2:"朱婉芬",
					teacher3:"肖金红",
					teacher4:"林金冲",
					teacher5:"黄开标",
				}, ],
				kebiaorulerList2: [{
					kebiaorulerId: 5,
					jieci: "5",
					time: "",
					subject6:"政治",
					subject7:"语文",
					subject8:"化学",
					subject9:"语文",
					subject10:"数学",
					teacher6:"王琼玉",
					teacher7:"林丽环",
					teacher8:"许丽阳",
					teacher9:"吴子桦",
					teacher10:"陈伟煌",
				}, {
					kebiaorulerId: 6,
					jieci: "6",
					time: "下午",
					subject6:"政治",
					subject7:"语文",
					subject8:"化学",
					subject9:"语文",
					subject10:"数学",
					teacher6:"洪洋林",
					teacher7:"庄娇蓉",
					teacher8:"郑乌最",
					teacher9:"王玲",
					teacher10:"杨川",
				}, {
					kebiaorulerId: 7,
					jieci: "7",
					time: "",
					subject6:"政治",
					subject7:"语文",
					subject8:"化学",
					subject9:"语文",
					subject10:"数学",
					teacher6:"庄丽真",
					teacher7:"林丽环",
					teacher8:"施术店",
					teacher9:"许祺彬",
					teacher10:"王晓果",
				}, {
					kebiaorulerId: 8,
					jieci: "8",
					time: "",
					subject6:"政治",
					subject7:"语文",
					subject8:"化学",
					subject9:"语文",
					subject10:"数学",
					teacher6:"郑华丽",
					teacher7:"蔡勇强",
					teacher8:"蔡少荣",
					teacher9:"王美丽",
					teacher10:"洪东梅",
				}, ]

			}
		},
		methods: {
			save: function() {},
			gradeChange: function() {},
			classroomChange: function() {},
			detailChange1: function() {},
			detailChange2: function() {},
			detailChange3: function() {},
			detailChange4: function() {},
			detailChange5: function() {},
			daochu:function(){},
		}
	}
</script>

<style>

</style>